<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('查看报价结果')" />
</head>
<div class="pageContent">
		<div class="pageFormContent" layoutH="25">
		<table class="table" width="100%" >
		<thead>
			<tr>
			    <th width="50" >序号</th>
				<th width="200">报价单位</th>
				<th width="100">联系人</th>
				<!-- <th width="150">手机号</th> -->
				<th width="150">报价金额(元)</th>
				<th width="300">需求参数</th>
				<th width="100">需求数量</th>
				<th width="200">报价参数</th>
		        <th width="250">操作</th>
			</tr>
		</thead>
		<tbody>
		<!--<c:forEach var="list" items="${oList}" varStatus="vs">-->
			<tr align="center" th:each="list,loopStatus:${oList}">
				<td>${vs.index+1}</td>
				<td th:title="${list.supplier.supplierName}">
					<span th:if="${#strings.length(list.supplier.supplierName)} gt 7" th:text="${#strings.substring(list.supplier.supplierName,0,7)}+'...'"></span>
				<!--<c:if test="${fn:length(list.supplier.supplierName)>7}">${fn:substring(list.supplier.supplierName,0,7)}...</c:if>-->
					<span th:if="${#strings.length(list.supplier.supplierName)} le 7" th:text="${list.supplier.supplierName}"></span>
				<!--<c:if test="${fn:length(list.supplier.supplierName)<=7}">${list.supplier.supplierName}</c:if>-->
				</td>
				<td th:text="${list.supplier.supplierPerson}">
					<!--<c:out value="${list.supplier.supplierPerson}"></c:out>-->
				</td>
				<!--<%&#45;&#45; <td><c:out value="${list.supplier.moble}"></c:out></td> &#45;&#45;%>-->
				<td th:text="${#numbers.formatDecimal(list.offerAmount,1,2)}">
				<!--<fmt:formatNumber value="${list.offerAmount}" type ="currency" pattern="0.00"/>-->
				</td>
				<td th:title="${bidInfo.demand}">
					<span th:if="${#strings.length(bidInfo.demand)} gt 8" th:text="${#strings.substring(bidInfo.demand,0,10)}+'...'"></span>
				<!--<c:if test="${fn:length(bidInfo.demand)>8}">${fn:substring(bidInfo.demand,0,10)}...</c:if>-->
					<span th:if="${#strings.length(bidInfo.demand)} le 8" th:text="${bidInfo.demand}"></span>
				<!--<c:if test="${fn:length(bidInfo.demand)<=8}">${bidInfo.demand}</c:if>-->
				</td>
				<td th:text="${bidInfo.count}">
					<!--<c:out value="${bidInfo.count}"></c:out>-->
				</td>
				<td th:title="${list.offerParameter}">
					<span th:if="${#strings.length(list.offerParameter)} gt 10" th:text="${#strings.substring(list.offerParameter,0,10)}+'...'"></span>
				<!--<c:if test="${fn:length(list.offerParameter)>10}">${fn:substring(list.offerParameter,0,10)}...</c:if>-->
					<span th:if="${#strings.length(list.offerParameter)} le 10" th:text="${list.offerParameter}"></span>
					<!--<c:if test="${fn:length(list.offerParameter)<=10}">${list.offerParameter}</c:if>-->
					<div th:each="pei:${list.lists}">
						<span th:text="${pei.goodName}"></span>
						<span>:</span>
						<span th:text="${pei.attribite1}"></span>
					</div>
					<!--<c:forEach items="${list.lists}" var="pei">-->
					<!--${pei.goodName}：${pei.attribite1}<br/>-->
				<!--</c:forEach>-->
				</td>
				<!--<td>-->
				<!--&lt;!&ndash;<c:if test="${approve.cgbApproveResult==2}">&ndash;&gt;-->
				<!--<a th:if="${approve.cgbApproveResult} eq 2" th:href="purchaseItemAction/faduanxinPop.action?moble=${list.supplier.moble}&supplierId=${list.supplier.supplierId}&successfulAmount=${list.offerAmount}&bidInfoId=${bidInfo.bidInfoId}"-->
					 <!--mask="true" target="dialog" width="560" height="380"  fresh="true" title="发送">发送</a>-->
					 <!--&lt;!&ndash;</c:if>&ndash;&gt;-->
					<!--<span th:if="${approve.cgbApproveResult} ne 2">-->
						<!--请先提交审批或等待审批通过！-->
					<!--</span>-->
					 <!--&lt;!&ndash;<c:if test="${approve.cgbApproveResult!=2}">&ndash;&gt;-->
				    <!--&lt;!&ndash;请先提交审批或等待审批通过！&ndash;&gt;-->
					 <!--&lt;!&ndash;</c:if>&ndash;&gt;-->
					 <!--</td>-->
			
			</tr>
			<!--</c:forEach>-->
		</tbody>
	</table>
		</div>
</div>